package meterMonitor.model;

import lombok.Data;

import java.math.BigDecimal;

/**
 * 设备信息表
 */
@Data
public class DeviceInfoPO {
    private Integer devId;
    private String devCode;
    private String devName;
    private Integer devType;
    private String devTypeDesc;
    private String devUnit;
    private BigDecimal upperLimit;
    private BigDecimal lowerLimit;
    private Integer lineId;
    private String lineName;
    private String slotName;
    private Integer slotId;
    private Integer sortSn;// 设备排列序号
    private Integer imId;
    private String plcAddr;
    private String stackAddr;

    // private String devIdArr[];
    // private String slotIdArr[];
    // private String lineIdArr[];
    // private String devTypeArr[];

    private String lineIds;
    private String slotIds;
    private String devTypes;
    private String devIds;

    public static DeviceInfoPO newInstance(Integer devId) {
        DeviceInfoPO deviceInfo = new DeviceInfoPO();
        deviceInfo.setDevId(devId);
        return deviceInfo;
    }

}
